<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Settings Struct Reference</title>
    <link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../../js/jquery.min.js" defer></script>
    <script src="../../js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Struct/Settings" class="dashAnchor"></a>
    <a title="Settings Struct Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../../index.html">anim Docs</a> (100% documented)</p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../../index.html">anim Reference</a>
        <img id="carat" src="../../img/carat.png" />
        Settings Struct Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Classes/anim.html">anim</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/anim/AnimatorType.html">– AnimatorType</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/anim/Ease.html">– Ease</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/anim/Settings.html">– Settings</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Protocols/Animator.html">Animator</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>Settings</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">Settings</span></code></pre>

                </div>
              </div>
            <p>Animation settings.</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vVC4anim4anim8Settings5delaySd"></a>
                    <a name="//apple_ref/swift/Property/delay" class="dashAnchor"></a>
                    <a class="token" href="#/s:vVC4anim4anim8Settings5delaySd">delay</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Delay before animation starts.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">delay</span><span class="p">:</span> <span class="kt">TimeInterval</span> <span class="o">=</span> <span class="mi">0</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vVC4anim4anim8Settings8durationSd"></a>
                    <a name="//apple_ref/swift/Property/duration" class="dashAnchor"></a>
                    <a class="token" href="#/s:vVC4anim4anim8Settings8durationSd">duration</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Duration of animation.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">duration</span><span class="p">:</span> <span class="kt">TimeInterval</span> <span class="o">=</span> <span class="mi">1</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vVC4anim4anim8Settings4easeVS0_4Ease"></a>
                    <a name="//apple_ref/swift/Property/ease" class="dashAnchor"></a>
                    <a class="token" href="#/s:vVC4anim4anim8Settings4easeVS0_4Ease">ease</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Easing of animation.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">ease</span><span class="p">:</span> <span class="kt"><a href="../../Classes/anim/Ease.html">Ease</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">easeOutQuint</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vVC4anim4anim8Settings10completionGSqFT_T__"></a>
                    <a name="//apple_ref/swift/Property/completion" class="dashAnchor"></a>
                    <a class="token" href="#/s:vVC4anim4anim8Settings10completionGSqFT_T__">completion</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Completion block which runs after animation.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">completion</span><span class="p">:</span> <span class="p">(</span><span class="kt"><a href="../../Classes/anim.html#/s:C4anim4anim7Closure">Closure</a></span><span class="p">)?</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vVC4anim4anim8Settings17preferredAnimatorOS0_12AnimatorType"></a>
                    <a name="//apple_ref/swift/Property/preferredAnimator" class="dashAnchor"></a>
                    <a class="token" href="#/s:vVC4anim4anim8Settings17preferredAnimatorOS0_12AnimatorType">preferredAnimator</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Preferred animator used for the animation.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">lazy</span> <span class="kd">public</span> <span class="k">var</span> <span class="nv">preferredAnimator</span><span class="p">:</span> <span class="kt"><a href="../../Classes/anim/AnimatorType.html">AnimatorType</a></span> <span class="o">=</span> <span class="kt"><a href="../../Classes/anim/AnimatorType.html">AnimatorType</a></span><span class="o">.</span><span class="k">default</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vVC4anim4anim8Settings25isUserInteractionsEnabledSb"></a>
                    <a name="//apple_ref/swift/Property/isUserInteractionsEnabled" class="dashAnchor"></a>
                    <a class="token" href="#/s:vVC4anim4anim8Settings25isUserInteractionsEnabledSb">isUserInteractionsEnabled</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Enables user interactions on views while animating. Not available on macOS.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isUserInteractionsEnabled</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">false</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2017 <a class="link" href="https://github.com/onurersel/anim" target="_blank" rel="external">Onur Ersel</a>. All rights reserved. (Last updated: 2017-02-17)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
